package com.jxtc.enterprise.tenant.vo.delliveryCommissionManage;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "骑手的每次配送任务的配送费详情")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DeliveryCommissionVO {

    private String taskId;

    private String riderId;

    private String riderName;

    private String deliveryDate;

    private String mealType;

    private String deliveryAddress;

    private String deliveryCostType;

    private int deliveryCostValue;

    private int orderCount;

    /**
     * 该配送任务配送的商品总销售金额，单位为分
     */
    private int orderAmount;

    private int additionalFee;

    private int deductFee;

    /**
     * 配送任务状态 1：待配送，2：已送达
     */
    private int deliveryStatus;

    /**
     * 结算状态 1：待结算，2：已结算
     */
    private int settlementStatus;

    private String note;

    /**
     * 本次配送任务，骑手最终应得的佣金，单位为元，格式化后的字符串，比如 "21.58"
     * 配送任务的佣金不是通过查表得到的，而是通过 表中的 佣金方式，比率，加项，扣除项 计算得到的
     */
    private String riderCommission;

}
